package homework;

import lombok.*;

/**
 * @classname:Manager
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/11 17:55
 * @version: 0.1
 * @since:1.8
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Manager extends Employee {
    private String name;
    private Integer age;
    private Integer salary;
    private Integer bonus;

    @Override
    public void showInfo() {
        System.out.println("项目经理的名字" + name + "年龄" + age + "薪资" + salary+"项目提成"+bonus);
    }
}
